home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
ddj0897.zip
/
DYN401.ZIP
/
examples
/
exam30
/
makefile.unx
< prev
next >
Wrap
Makefile
|
1995-09-27
|
385b
|
34 lines
CC = gcc
BINDIR = ../../bin
LIBDIR = ../../lib
INCDIR = ../../include
#DEBUG = -g
#DEBUG = -O
CFLAGS = -I$(INCDIR)
GFLAGS = -I$(INCDIR) -O -w
TARGET = main
CFILES = main.c
OBJS = $(CFILES:.c=.o)
.c.o:
$(CC) $(CFLAGS) $(DEBUG) -c $<
$(TARGET) : $(OBJS)
$(CC) $(DEBUG) -o $(TARGET) $(OBJS) $(LIBDIR)/dynace.a -lm
clean:
-rm -f *.obj *.exe generics.* $(TARGET) *.o *~